package codepulse.blogmoon.cn.system.service;

import codepulse.blogmoon.cn.system.dto.admin.SysAdminMenuTreeDTO;
import codepulse.blogmoon.cn.system.entity.SysAdminMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 61748
* @description 针对表【sys_admin_menu(系统-菜单表)】的数据库操作Service
* @createDate 2024-01-15 14:27:05
*/
public interface SysAdminMenuService extends IService<SysAdminMenu> {

    List<SysAdminMenuTreeDTO> getTree(Long bizAcctId);

    List<SysAdminMenuTreeDTO> allMenu();

    void insertOrUpdate(SysAdminMenuTreeDTO dto);

    void removeMenu(Long id);
}
